import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import '@/assets/icons'
//elementUI样式库导入
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
//阿里图片库样式导入
import '@/assets/icons/iconfont/iconfont.css'
//全局通用样式导入
import '@/assets/styles/global.scss'
//bpmn样式导入
//bpmn左边工具栏以及编辑节点的样式
import 'bpmn-js/dist/assets/diagram-js.css' 
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn.css'
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-codes.css'
import 'bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css'
//bpmn边工具栏样式
import 'bpmn-js-properties-panel/dist/assets/bpmn-js-properties-panel.css' 
import {deepCopy,objToMap,arrExitObj} from '@/utils/ObjUtils'
import AuthUtils from './utils/AuthUtils'
//引入工具
import {getUniqueId} from '@/utils/IdUtils'

//引入mockjs
import '@/mock'
import SlideVerify from "vue-monoplasty-slide-verify";

import projectConfig from '@/config/projectConfig'
//引入录音
import RecorderPlugin from '@/utils/MediaUtils'

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(SlideVerify)
Vue.use(projectConfig)
Vue.use(RecorderPlugin)
Vue.prototype.$deepCopy = deepCopy;
Vue.prototype.$objToMap = objToMap;
Vue.prototype.$arrExitObj = arrExitObj;
Vue.prototype.$auth = AuthUtils;
Vue.prototype.$getUniqueId = getUniqueId;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
